import config from '../config/api/list'
import http from '../utils/http'

/**
 * 列表
 * @param {number} 
 * @returns Promise
 */
export const getQinList = ()=>{
    return http.post(config.getQinList)
}

/**
 * 列表
 * @param {number} 
 * @returns Promise
 */
 export const getGoods = ( type = 1 )=>{
    return http.get(config.getGoods + type)
}
